<template>
  <div>
    <!--  头部  -->
    <header>
      <nav-top></nav-top>
    </header>
    <section>
      <div class="retrieve-password">
        <div class="retrieve-card">
          <h2>找回密码</h2>
          <p>验证码将会发送至你的注册邮箱或手机</p>
          <label>
            <input type="text" placeholder="手机号或邮箱" />
          </label>
          <button class="btn-next">下一步</button>
          <p @click="showManualAppeal()">邮箱或手机不可用了？</p>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  name: "forget",
  data() {
    return {
      is_phone: true
    };
  },
  methods: {
    showManualAppeal() {
      this.is_phone = false;
    }
  }
};
</script>

<style scoped lang="less">
header {
  z-index: 9999;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 2px 2px 0 rgba(237, 237, 237, 0.4);
}
section {
  width: 100%;
  height: 100%;
  min-height: 90vh;
  padding-top: 15px;
  margin-top: 55px;
  background-color: #f6f6f6;
  .retrieve-password {
    width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    background-color: #fff;
    .retrieve-card {
      width: 400px;
      padding: 40px 0;
      margin: 0 auto;
      p {
        margin: 20px 0;
        font-size: 15px;
        color: #999;
      }
      input {
        width: 100%;
        margin: 50px 0;
        padding: 20px 0;
        font-size: 15px;
        border-bottom: 1px solid #eaeaea;
        &::-webkit-input-placeholder {
          font-size: 15px;
          color: #d5d5d5;
        }
      }
      .btn-next {
        width: 100%;
        height: 40px;
        font-size: 17px;
        color: #fff;
        border-radius: 5px;
        border: none;
        background-color: #6b9147;
        cursor: pointer;
      }
      & > p:last-child {
        text-align: right;
        cursor: pointer;
        &:hover {
          color: #888;
        }
      }
    }
  }
}
</style>
